package com.nhjf.pojo.system;

import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;

/**
 * 
 * @类功能说明：首页板块活动静态常量

 * @版本：V1.0
 *
 */
public class PromotionConstants {

	/*******************板块活动类型 ************************************************/
	
	public static final Map<String,String> typeMap = new LinkedHashMap<String,String>();
	
	/** PC端首页轮播广告 **/
	public static final String TYPE_CAROUSEl_IMAGE = "1";
	/** PC端品牌列表  **/
	public static final String TYPE_BRAND_LIST = "2";
	/**广告图 **/
	public static final String TYPE_AD_IMAGE = "3";
	/** PC端跑马灯文字广告  **/
	public static final String TYPE_AD_WORD = "4";
	/** PC端商城特惠  **/
	public static final String TYPE_DEAL_AD = "5";
	/** 移动端首页轮播广告 **/
	public static final String TYPE_CAROUSEl_IMAGE_MOBILE = "6";
	/** 移动端商城特惠  **/
	public static final String TYPE_DEAL_AD_MOBILE = "7";
	
	
	static{
		typeMap.put(TYPE_CAROUSEl_IMAGE, "PC端首页轮播广告");
		typeMap.put(TYPE_CAROUSEl_IMAGE_MOBILE, "移动端首页轮播广告");
		typeMap.put(TYPE_BRAND_LIST, "PC端品牌列表");
		typeMap.put(TYPE_AD_IMAGE, "广告图");
		typeMap.put(TYPE_AD_WORD, "PC端跑马灯文字广告");
		typeMap.put(TYPE_DEAL_AD, "PC端商城特惠页广告");
		typeMap.put(TYPE_DEAL_AD_MOBILE, "移动端商城特惠页广告");
	}
	
	
	/**************************板块活动状态*****************************************/
	public static final Map<String,String> statusMap = new TreeMap<String,String>();
	
	/**已上线**/
	public static final String STATUS_UP = "1";
	/**已下线**/
	public static final String STATUS_DOWN = "2";
	
	static{
		statusMap.put(STATUS_UP, "已上线");
		statusMap.put(STATUS_DOWN, "已下线");
	}
	
	
	/**************************是否删除*****************************************/
	
	/**已删除**/
	public static final String IS_DEL_YES = "0";
	/**没有删除**/
	public static final String IS_DEL_NO = "1";
	
	
	/************************是否突出显示*******************************************/
	
	/**突出显示**/
	public static final String IS_HIGHLIGHT_YES = "1";
	/**不突出显示**/
	public static final String IS_HIGHLIGHT_NO = "0";
	
	
	/************************** 广告类型*****************************************/
	
	public static final Map<String,String> adTypeMap = new TreeMap<String,String>();
	
	/**静态页面**/
	public static final String AD_TYPE_STATIC_HTML = "2";
	/**链接广告**/
	public static final String AD_TYPE_LINK_AD = "1";
	
	static{
		adTypeMap.put(AD_TYPE_LINK_AD, "链接广告");
		adTypeMap.put(AD_TYPE_STATIC_HTML, "静态页面");
	}
	
	/************************** 位置  ******************************************/
	
	public static final Map<String,String> positionMap = new TreeMap<String,String>();
	
	/** 首页板块活动下线后的位置 **/
	public static final String POSITION_DOWN = "0";
	
	public static final String POSITION_ONE = "1";
	public static final String POSITION_TWO = "2";
	public static final String POSITION_THREE = "3";
	public static final String POSITION_FOUR = "4";
	public static final String POSITION_FIVE = "5";
	public static final String POSITION_SIX = "6";
	public static final String POSITION_SEVEN = "7";
	public static final String POSITION_EIGHT = "8";
	public static final String POSITION_NINE = "9";
	
	static{
		positionMap.put(POSITION_ONE, "1号位");
		positionMap.put(POSITION_TWO, "2号位");
		positionMap.put(POSITION_THREE, "3号位");
		positionMap.put(POSITION_FOUR, "4号位");
		positionMap.put(POSITION_FIVE, "5号位");
		positionMap.put(POSITION_SIX, "6号位");
		positionMap.put(POSITION_SEVEN, "7号位");
		positionMap.put(POSITION_EIGHT, "8号位");
		positionMap.put(POSITION_NINE, "9号位");
	}
	
}
